const uploadIcons: any = import.meta.glob('@/assets/imgs/uploadIcon/**.*', { eager: true });

export const getUploadIcon = (iconKey: string) => {
    for (const key of Object.keys(uploadIcons)) {
        if (key.includes(iconKey)) {
            return uploadIcons[key].default;
        }
    }
    return '';
};
